﻿using System.ComponentModel.DataAnnotations;
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace Web.Models.CoreData
{
    /// <summary>
    /// 配置文件
    /// </summary>
    [Table("tgallery")]
    public class Gallery
    {
        /// <summary>
        /// 消息唯一标识
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        [Column("id")]
        public String Id { get; set; }

        /// <summary>
        /// 公司id
        /// </summary>
        [Column("companyId")]
        public String CompanyId { get; set; }

        /// <summary>
        /// 公司名称
        /// </summary>
        [Column("companyName")]
        public String CompanyName { get; set; }

        /// <summary>
        /// 图片名称
        /// </summary>
        [Column("imageName")]
        public String ImageName { get; set; }

        /// <summary>
        /// 图片描述
        /// </summary>
        [Column("description")]
        public String Description { get; set; }

        /// <summary>
        /// 图片路径
        /// </summary>
        [Column("filePath")]
        public String FilePath { get; set; }
        
    }
}
